#ifndef A_H
#define A_H

#if defined(A_EXPORTS)
#  define A_EXPORT __declspec(dllexport)
#else
#  define A_EXPORT __declspec(dllimport)
#endif

#if defined(_EXPORTS)
#  define EXPORT __declspec(dllexport)
#else
#  define EXPORT __declspec(dllimport)
#endif

//class A_EXPORT A
class EXPORT A
//class A
{
public:
    A();
    int add(int a, int b);

    static void swap(int &a, int &b);
};
A_EXPORT extern A *g_a;
#endif // A_H
